package com.itheima.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.itheima.domain.NursingProject;
import com.itheima.domain.vo.NursingProjectNameIdVo;
import com.itheima.mapper.NursingProjectMapper;
import com.itheima.service.NursingProjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class NursingProjectServiceImpl extends ServiceImpl<NursingProjectMapper, NursingProject> implements NursingProjectService {

    @Autowired
    private NursingProjectMapper nursingProjectMapper;
    @Override
    public List<NursingProjectNameIdVo> getAllNameId() {
        return nursingProjectMapper.getAllNameId();
    }
}
